#include"UdpServer.hpp"

int main(int argc,char** argv)
{
    if(argc!=2)
    {
        cout<<"Usage: ./myserver port"<<endl;
        return 1;
    }

    UdpServer* us=new UdpServer(atoi(argv[1]));
    us->Init();
    us->Run();
    return 0;
}